<template>
  <div class="err_box ">
    <el-empty description="404 页面为找到" image-size="300">
      <el-button type="info" text @click="toLogin" bg>去登录</el-button>
    </el-empty>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";

const router = useRouter()
function toLogin() {
  router.push('/login');
}
</script>

<style lang="less" scoped>
.err_box {
  width: 100%;
  height: 100%;

}
</style>